<script>
function updateInfo()
{
	$("#info").html('<?php echo rootpath();?>'+$("#prjname").val());
}
</script>
<h2>新建项目</h2>
<p>
<form action="<?php echo url('newPrj','Project');?>" method="POST">
	项目名: <input type="text" id="prjname" name="prjname" onkeyup="updateInfo()" /><br />
	<input type="checkbox" class="checkbox" name="subdir" checked>为项目文件建单独的存放子目录<br />
	<input type="submit" value="提交" />
<?php if(C("TOKEN_ON")):?><input type="hidden" name="<?php echo C("TOKEN_NAME");?>" value="<?php echo Session::get(C("TOKEN_NAME")); ?>"/><?php endif;?></form>
</p>
<p id="info"></p>